<template>
    <div class="box">
        <div class="withdraw_title">可用余额(￥)</div>
        <div class="withdraw_moeny">{{balance}}</div>
        <div class="withdraw_action">提现充值请到“天天拼货团”APP上查看</div>
    </div>
</template>

<script>
    import { Indicator} from 'mint-ui'
    export default {
        name: 'withdraw',
        data () {
            return {
               balance: ''
            }
        },
        created: function () {
            const that = this
            Indicator.open()
            that.$http('/pay/Account/GetBalance4PinHuo',{},function(res){
            	Indicator.close()
            	if(res.Result){
            		that.balance = res.Data.balance
            	}
            },'GET')
        }
    }
</script>


<style scoped>
    .withdraw_title{width: 92%;padding: 50px 0 10px 8%;color: #555;font-size: 16px;}
    .withdraw_moeny{width: 92%;padding: 10px 0 30px 8%;color: #000;font-size: 30px;}
    .withdraw_action {width: 100%;font-size: 14px;color: #ccc;text-align: center;}
</style>
